package com.aspire.query.controller;

import com.aspire.query.service.impl.QueryInfoImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zhouyumin
 */
@Controller
public class QueryInfoController {

    @Autowired
    private QueryInfoImpl queryInfo;

    @GetMapping("/query")
    public void query(@RequestParam String sql) {
        queryInfo.query(sql);
    }



}
